package com.css.zfzx.sjcj.modules.qhstandardpenetration.service;

import com.alibaba.fastjson.JSONObject;
import com.css.zfzx.sjcj.modules.qhstandardpenetration.repository.entity.QhStandardPenetrationEntity;
import com.css.zfzx.sjcj.modules.qhstandardpenetration.viewobjects.QhStandardPenetrationQueryParams;
import com.css.bpm.platform.sys.dict.repository.entity.DictItemEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author aa
 * @date 2020-11-12
 */

public interface QhStandardPenetrationService {

    public JSONObject queryQhStandardPenetrations(QhStandardPenetrationQueryParams queryParams, int curPage, int pageSize);

    public QhStandardPenetrationEntity getQhStandardPenetration(String id);

    public QhStandardPenetrationEntity saveQhStandardPenetration(QhStandardPenetrationEntity qhStandardPenetration);

    public QhStandardPenetrationEntity updateQhStandardPenetration(QhStandardPenetrationEntity qhStandardPenetration);

    public void deleteQhStandardPenetrations(List<String> ids);

    public void submitQhStandardPenetrations(String ids);

    public List<DictItemEntity> getValidDictItemsByDictCode(String dictCode);

    public String importExcel(MultipartFile file);

    public String exportExcel(String ids, HttpServletResponse response);

    public String exportExcel(List<QhStandardPenetrationEntity> areaEntities, HttpServletResponse response);

    public JSONObject dataQualityCheck(String drillCodes);

    public JSONObject dataQualityCheck(List<QhStandardPenetrationEntity> qhStandardPenetrationList);
}
